package com.web.star.controller;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.ResponseStatus;

import com.web.star.eneity.RespBean;

@Controller
public class LoginController {
	
	    @RequestMapping("/login_p")
	    @ResponseStatus(HttpStatus.UNAUTHORIZED)
	    @ResponseBody
	    public RespBean login() {
	        return RespBean.error("尚未登录，请登录!");
	    }
	   
}
